﻿
namespace Pp.UI.Models
{
    using System;
    using Dto;

    public class AboutInformation
    {
        public string AboutTitle { get; set; }
        public string AboutText { get; set; }
    }
    public class GeneralInformation
    {
        public int UserCount { get; set; }
        public int ProjectCount { get; set; }
    }
    public class DeleteFormItem
    {
        public DeleteFormItem(string action, Guid id)
        {
            Id = id;
            Action = action;
        }
        public DeleteFormItem(string action, Guid id, string returnUrl)
        {
            Id = id;
            Action = action;
            ReturnUrl = returnUrl;
        }
        public Guid Id { get; set; }
        public string Action { get; set; }
        public string ReturnUrl { get; set; }
    }
    public class AccountListViewModel
    {
        public PageList<Pp.Dto.UserDto> Users { get; set; }
        public UserSmallDto UserSmallDto { get; set; }
    }
    public class FollowItem
    {
        public Guid? Id { get; set; }
        public string ReturnUrl { get; set; }
        public FollowType FollowType { get; set; }
        public bool IsFollow { get; set; }
        public string FollowCount { get; set; }
    }

    public enum FollowType
    {
        Profile, Project
    }
}
